package com.alex.senior1.week1.service;

import com.alex.senior1.week1.domain.TbGoods;
import com.alex.senior1.week1.vo.GoodsVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 商品表 服务类
 * </p>
 *
 * @author alex
 * @since 2019-11-01
 */
public interface ITbGoodsService extends IService<TbGoods> {
	public IPage<GoodsVo> getGoodsByPageAndName(IPage<GoodsVo> page,QueryWrapper<GoodsVo> queryWrapper);
	
	public GoodsVo getGoodsById(QueryWrapper<GoodsVo> queryWrapper);
}
